﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IdentityServer.Domain.Entities
{
    public class EmailCode
    {
        public string Email { get; set; }
        public string Code { get; set; }
        public DateTime OverTime { get; set; }
        public int Id { get; set; }

        public EmailCode(string email, string code,DateTime overTime)
        {
            Email = email;
            Code = code;
            OverTime = overTime;
        }   
    }
}
